<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="js/citySelector.css">
<link href="daoepingcss/job.css" rel="stylesheet" type="text/css" />
<link href="daoepingcss/daoeping.css" rel="stylesheet" type="text/css" />
<link href="daoepingcss/jobdetail.css" rel="stylesheet" type="text/css" />
<link href="js/pagination.css" rel="stylesheet" type="text/css" />
<script src="js/citySelector.js" type="text/javascript"></script>
<script src="js/jquery-1.2.6.pack.js" type="text/javascript"></script>
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/jquery.pagination.js" type="text/javascript"></script>
<script src="daoepingjs/pageBzn_jobdescriptions.js"
	type="text/javascript"></script>
	<script src="daoepingjs/script_common.js"
	type="text/javascript"></script>

<title>job list</title>
</head>


<body>

	<p>
	
		<input type="text" class="cityinput" id="citySelect" value="城市名"  name="bzn_jobdescription.bsc_city.name"/>&nbsp;<input
			class="search" type="text" name="Bzn_jobdescription.bsc_jobtype.name" size="20" id="keyword" value="请输入求职工作" onfocus="this.value=''" onblur="if(this.value=='')this.value='请输入求职工作'"/>&nbsp;<a
			class="button" onclick="initData(0);" style="cursor: pointer;" >Search</a>
			<% String str =(String) request.getSession().getAttribute("companylevel");
			if(str!=null&&!"".equals(str)&&str.equals("Yes")){%>
			<a class="link" style="cursor: pointer;text-decoration:none" href="view/user/cjobdetail.jsp" >add job description </a>
			<%} %>
			<a class="link" style="cursor: pointer;text-decoration:none" href="view/user/pindex.jsp" >Go to My home</a>
			
	</p>

	
	<div id="divload"
		style="top: 50%; right: 50%; position: absolute; padding: 0px; margin: 0px; z-index: 999"></div>
	<table id="productTable" style="width: 70%" class="TableList">
		<tr class="TableHeader">

			<th nowrap align="center"><a style="cursor: pointer;"
				onclick="Sort('bzn.title','title');return false;">Title</a><span
				id="title" class="ordertip"><img src="images/sort_asc.gif"
					align="middle"></span></th>
			<th nowrap align="center"><a style="cursor: pointer;"
				onclick="Sort('bzn.cop_companyinfo.name','company');return false;">Company</a><span
				id="company" class="ordertip"><img src="images/sort_asc.gif"
					align="middle"></span></th>
			<th nowrap align="center"><a style="cursor: pointer;"
				onclick="Sort('bzn.bsc_jobtype.name','job');return false;">Job</a><span
				id="job" class="ordertip"><img src="images/sort_asc.gif"
					align="middle"></span></th>
			<th nowrap align="center"><a style="cursor: pointer;"
				onclick="Sort('bzn.bsc_worktype.name','worktype');return false;">Work Type</a><span
				id="worktype" class="ordertip"><img
					src="images/sort_asc.gif" align="middle"></span></th>
			<th nowrap align="center"><a style="cursor: pointer;"
				onclick="Sort('bzn.bsc_salary.salaryValue','salary');return false;">Salary</a><span
				id="salary" class="ordertip"><img src="images/sort_asc.gif"
					align="middle"></span></th>
			<th nowrap align="center"><a style="cursor: pointer;"
				onclick="Sort('bzn.bsc_educational.educationalLevel','education');return false;">Education</a><span
				id="education" class="ordertip"><img
					src="images/sort_asc.gif" align="middle"></span></th>
			<th nowrap align="center"><a style="cursor: pointer;"
				onclick="Sort('bzn.bsc_city.name','city');return false;">City</a><span id="city"
				class="ordertip"><img src="images/sort_desc.gif"
					align="middle"></span></th>
			
					
		</tr>
	</table>
	<div id="Pagination" class="flickr" style="text-align: left"></div>


</body>
<script type="text/javascript">
	var test = new Vcity.CitySelector({
		input : 'citySelect'
	});
</script>
</html>